require "import"
import "android.content.Context"
import "android.os.Vibrator"

local context = activity or service
local vibrator = context.getSystemService(Context.VIBRATOR_SERVICE)

if vibrator.hasVibrator() then
    vibrator.vibrate(10)
end

if service.click({
{"atender*|*Aceitar*|Ligar alto-falante|Pausar|Pausar mensagem de voz|Sair da ligação|Encerrar|ações*|%Reproduzir/pausar@*$150",
}
})
return true
end

return true
